import eState from "./eState";
import StateEvent from "./StateEvent";
import AnimationController from "../../Controllers/AnimationController";

/**
 * 状态机接口
 * created by Five on 2018-12-4 18:26:11
 */

export default interface IState {
    // 状态枚举
    StateID: eState;
    // 是否会产生位移
    Moveable: boolean;
    // 拥有者的动画组件
    Ownner: AnimationController;

    Enter(se: StateEvent);
    Execute(se: StateEvent);
    Exit(se: StateEvent);
}